package com.ruoyi.medical.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 药品订单管理对象 medicine_order_item
 * 
 * @author WGH
 * @date 2025-08-13
 */
public class MedicineOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long medicineId;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 用法 */
    @Excel(name = "用法")
    private String useg;

    /** 用量 */
    @Excel(name = "用量")
    private String dose;

    /** 删除标记：0未删除，1已删除 */
    private Integer del;

    /** 关联订单表 */
    private MedicineOrder medicineOrder;

    /** 关联药品表 */
    private Medicine medicine;
}
